<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8" />
	<title><?php echo $this->title ?><?php echo $this->system_title ?></title>
	<base href="<?php echo __PROJECTNAME__ ?>/admin/" />
	<!-- Favicons --> 
	<link rel="shortcut icon" type="image/png" HREF="img/favicons/favicon.png"/>
	<link rel="icon" type="image/png" HREF="img/favicons/favicon.png"/>
	<link rel="apple-touch-icon" HREF="img/favicons/apple.png" />
	<!-- Main Stylesheet --> 
	<link rel="stylesheet" href="css/style.css" type="text/css" />
	<!-- Your Custom Stylesheet --> 
	<link rel="stylesheet" href="css/custom.css" type="text/css" />
	<!-- jQuery with plugins -->
	<script type="text/javascript" src="js/jquery-1.8.2.js"></script>
	<script type="text/javascript" src="js/jquery-ui-1.9.1.custom.min.js"></script>
	<!-- jQuery tooltips -->
	<script type="text/javascript" src="js/jquery.tipTip.min.js"></script>
	<!-- Superfish navigation -->
	<script type="text/javascript" src="js/jquery.superfish.min.js"></script>
	<script type="text/javascript" src="js/jquery.supersubs.min.js"></script>
	<!-- jQuery form validation -->
	<script type="text/javascript" src="js/jquery.validate_pack.js"></script>
	<!-- jQuery popup box -->
	<script type="text/javascript" src="js/jquery.nyroModal.pack.js"></script>
	<!-- jQuery graph plugins -->
	<!--[if IE]><script type="text/javascript" src="js/flot/excanvas.min.js"></script><![endif]-->
	<script type="text/javascript" src="js/flot/jquery.flot.min.js"></script>
</head>
<body>
	<!-- Header -->
	<header id="top">
		<div class="wrapper">
			<!-- Title/Logo - can use text instead of image -->
			<div id="title"><img SRC="img/logo.png" alt="Administry" /><!--<span>Administry</span> demo--></div>
			<!-- Top navigation -->
			<div id="topnav">
				<a href="#"><img class="avatar" SRC="<?php echo UC_API . "/avatar.php?uid={$this->admin_info['uid']}&size=small" ?>" alt="" /></a>
				<b><?php echo $this->admin_info['username'] ?></b> 在线
				<span>|</span> <a href="<?php echo __PROJECTNAME__ ?>" target="_blank">站点首页</a>
				<span>|</span> <a href="<?php echo __PROJECTNAME__ ?>/admin/login/logout">退出</a><br />
				<?php if($this->user_message['count'] > 0) { ?>
				<small>您有 <a href="#" class="high"><b><?php echo $this->user_message['count'] ?></b> 条未读消息！</a></small>
				<?php } ?>
			</div>
			<!-- End of Top navigation -->
			<!-- Main navigation -->
			<nav id="menu">
				<?php echo $this->render('inc/_nav.htm'); ?>
			</nav>
			<!-- End of Main navigation -->
			<!-- Aside links -->
			<!--<aside><b>English</b> &middot; <a href="#">Spanish</a> &middot; <a href="#">German</a></aside>-->
			<!-- End of Aside links -->
		</div>
	</header>
	<!-- End of Header -->
	<!-- Page title -->
	<div id="pagetitle">
		<div class="wrapper">
			<h1><?php echo $this->tag_name ?></h1>
			<!-- Quick search box -->
			<form action="" method="get"><input class="" type="text" id="q" name="q" /></form>
		</div>
	</div>
	<!-- End of Page title -->